﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.WeixinMP.Models
{
    public class AccessTokenJSONModel
    {
        public string access_token { set; get; }
        public string expires_in { set; get; }
    }

    public class WeixinErrorJSONModel
    {
        public string errcode { set; get; }
        public string errmsg { set; get; }
        public bool IsSucceed
        {
            get
            {
                return errcode == "0" ? true : false;
            }
        }

    }
}
